home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_02_12
/
2n12024a
< prev
next >
Wrap
Text File
|
1991-10-31
|
678b
|
35 lines
#include "windows.h"
#define X_IN_WIN 0x0601
#define X_OUT_WIN 0x0602
#define X_SEND 0x0603
#define X_CLEAR 0x0604
#define X_END_DLG 0x0605
#define MAXBUFLEN 1024
#define MAXSTATELEN 255
HMENU hMainMenu;
HDC hDC;
FARPROC procAddr;
HCURSOR waitCursor;
HCURSOR arrowCursor;
/* ddpath and datapath should be
changed to reflect the location
of the data dictionaries */
char ddpath [ ] = "c:\\";
char datapath [ ] = "c:\\";
char userid [ ] = "\0";
char password [ ] = "\0";
char sReserved [ ] = "\0";
int iReserved = 0;
char *buffer;
char statement [255];
int cursorID = -1;
int statlen;
int status;